import instance from '@/utils/request';

//销售退货列表
export function GetSalesReturnDtoPes(data) {
    return instance.request({
        url: "api/SalesReturns/GetSalesReturnDtoPes",
        method: "post",
        data
    })
}
//详情列表
export function GetSalesReturnShow(data) {
    return instance.request({
        url: "api/SalesReturns/GetSalesReturnShow",
        method: "post",
        data
    })
}
//审核通过
export function UpdateStateSalesReturn(data) {
    return instance.request({
        url: "api/SalesReturns/UpdateStateSalesReturn",
        method: "post",
        data
    })
}
//审核驳回
export function UpdaSalesReturn(data) {
    return instance.request({
        url: "api/SalesReturns/UpdaSalesReturn",
        method: "post",
        data
    })
}
//支付方式
export function GetPayType(data) {
    return instance.request({
        url: "api/SalesReturns/GetPayType",
        method: "post",
        data
    })
}